package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 上传培训资料
 * </p>
 *
 * @author hpiggy
 * @since 2025-08-06
 */
@TableName("skill_means")
@ApiModel(value = "SkillMeans对象", description = "上传培训资料")
@Data
public class SkillMeans implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("学期id")
    private Integer quarterNum;

    @ApiModelProperty("年份id")
    private Integer yearPart;

    @ApiModelProperty("现在是市场部培训，固定为：27")
    private Long departmentId;

    @ApiModelProperty("项目id,例：号码：，邀约：，试听：，成交：")
    private Long itemId;

    @ApiModelProperty("关数")
    private Integer shutnumNum;

    @ApiModelProperty("关数Id")
    private Long shutnumId;

    @ApiModelProperty("文件链接")
    private String fileLink;

    @ApiModelProperty("文件名")
    private String fileName;

    @ApiModelProperty("资料内容")
    private String content;

    @ApiModelProperty("1正常，2关闭【预留字段，不用处理】")
    private Integer status;

    @ApiModelProperty("添加人")
    private Long createdId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    private Integer deleted;


}
